import Vue from 'vue'
import {
  Button,
  Link,
  Row,
  Col,
  Select,
  Option,
  Container,
  Header,
  Aside,
  Main,
  Table,
  TableColumn,
  Loading,
  Notification,
  Message,
  MessageBox,
  Form,
  FormItem,
  Input
} from 'element-ui'

// Vue.component(Button.name, Button);
// Vue.component(Link.name, Link);
Vue.use(Row)
Vue.use(Col)
Vue.use(Select)
Vue.use(Option)
Vue.use(Button)
Vue.use(Link)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Loading)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
// Vue.use(Notification)

Vue.prototype.$loading = Loading.service;
Vue.prototype.$msgbox = MessageBox;
Vue.prototype.$alert = MessageBox.alert;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.prototype.$prompt = MessageBox.prompt;
Vue.prototype.$notify = Notification;
Vue.prototype.$message = Message;
